package com.example.schoolguider.mapper;

import com.example.schoolguider.model.Area;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author wjc
 * @date 2024/7/25 17:52
 */
@Mapper
public interface AreaMapper {
    List<Area> listAreas();

    Area getAreaById(@Param("id") Long id);

    boolean updateArea(Area area);
}
